﻿function Browser()
{
}
Browser._rgx = new RegExp("(Firefox|MSIE|Opera|Chrome)[\\/\\s](\\d+\\.\\d+)");
Browser.get_Name = function get_Name()
{
	return Browser._rgx.exec(navigator.userAgent)[1];
}
Browser.get_Version = function get_Version()
{
	return parseFloat(Browser._rgx.exec(navigator.userAgent)[2]);
}
